<%@ taglib prefix="s" uri="/struts-tags"%>

					</div>
					<div style="clear: both;">&nbsp;</div>
				</div>
				<!-- end #content -->
				<div id="sidebar">
					<ul>
						<li>
							<div style="clear: both;">&nbsp;</div>
						</li>
						<li>
							<h2>Rates</h2>
								<table>
									<s:action name="rates" var="ratesAction" />
									<s:sort comparator="#ratesAction.rateCurrency2Comp" source="#ratesAction.rates">
										<s:sort comparator="#ratesAction.rateCurrency1Comp">
											<s:iterator>
												<tr>
													<td class="rate-name">
														<s:url action="displayRateDetail" var="detail" includeParams="get">
															<s:param name="code1" value="%{currency1.code}" />
															<s:param name="code2" value="%{currency2.code}" />
														</s:url>
														<s:a href="%{detail}">
															<s:property value="currency1.code" />/<s:property value="currency2.code" />
														</s:a>
													</td>
													<td>
														<s:if test="%{evolution < 0}">
															<span class="rate-decrease"><s:property value="askFormatted" /></span>
														</s:if>
														<s:elseif test="%{evolution > 0}">
															<span class="rate-increase"><s:property value="askFormatted" /></span>
														</s:elseif>
														<s:else>
															<span class="rate-same"><s:property value="askFormatted" /></span>
														</s:else>
													</td>
													<td>
														<s:if test="%{evolution < 0}">
															<img src="img/arrowDown.png" title="<s:property value="evolutionFormatted" />%" />
														</s:if>
														<s:elseif test="%{evolution > 0}">
															<img src="img/arrowUp.png" title="+<s:property value="evolutionFormatted" />%" />
														</s:elseif>
														<s:else>
															<img src="img/arrowRight.png" title="+0%" />
														</s:else>
													</td>
												</tr>
											</s:iterator>
										</s:sort>
									</s:sort>
								</table>
						</li>
					</ul>
				</div>
				<!-- end #sidebar -->
				<div style="clear: both;">&nbsp;</div>
			</div>
		</div>
	</div>
	<!-- end #page -->
</div>
<div id="footer">
	<p>Copyright (c) 2013 Chatech. All rights reserved.</p>
</div>
<!-- end #footer -->
</body>
</html>
